﻿package com.tudou.skin.common.bar
{
    import flash.display.*;

    public class BaseBar extends Sprite implements IBar
    {
        protected var $barData:Object;

        public function BaseBar(param1:Boolean = true)
        {
            this.buttonMode = true;
            this.useHandCursor = true;
            this.$barData = {};
            BarUtil.actMouse(this, param1);
            return;
        }// end function

        public function isDragging() : Boolean
        {
            return $barData.isDragging;
        }// end function

        public function getValue() : Number
        {
            return 0;
        }// end function

        public function getMin() : Number
        {
            return 0;
        }// end function

        public function get barData() : Object
        {
            return $barData;
        }// end function

        public function getActMax() : Number
        {
            return 0;
        }// end function

        public function getSkin() : InteractiveObject
        {
            return this;
        }// end function

        public function setValue(param1:Number) : void
        {
            return;
        }// end function

        public function getMax() : Number
        {
            return 0;
        }// end function

        public function getActMin() : Number
        {
            return 0;
        }// end function

        public function set barData(param1:Object) : void
        {
            $barData = param1;
            return;
        }// end function

    }
}
